from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import random

import numpy as np
import torch
from yacs.config import CfgNode


def set_random_seed(seed):
    random.seed(seed)
    np.random.seed(seed)
    torch.manual_seed(seed)
    torch.cuda.manual_seed_all(seed)


def get_cfg() -> CfgNode:
    from reid.cfgConfigs.defaults import _C
    return _C.clone()
